<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>WebRTC 入门教程 Demo01</title>
    <script src="../adapter.js"></script>
</head>
<body>

  <h1>使用RTCPeerConnection流式传输视频</h1>
  <video id="localVideo" autoplay></video>
  <video id="remoteVideo" autoplay></video>
  
  <div>
    <button id="startButton">Start</button>
    <button id="callButton">Call</button>
    <button id="hangupButton">Hang Up</button>
  </div>

  <script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
  <script src="main.js"></script>

</body>
</html>